// @ts-ignore
/* eslint-disable */
import { request } from '@umijs/max';
const apiPrefix = '/web';

/** 获取电池堆评估数据 GET /health/safety/stack */
export async function safetyExecutionControllerGetStackSafetyWorkIndicators(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.safetyExecutionControllerGetStackSafetyWorkIndicatorsParams,
  options?: { [key: string]: any },
) {
  return request<API.ApiResultStackSafetyWorkIndicators>(`${apiPrefix}/health/safety/stack`, {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取站点评估数据 GET /health/safety/station */
export async function safetyExecutionControllerGetStationSafetyWorkIndicators(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.safetyExecutionControllerGetStationSafetyWorkIndicatorsParams,
  options?: { [key: string]: any },
) {
  return request<API.ApiResultStationSafetyWorkIndicators>(`${apiPrefix}/health/safety/station`, {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
